<?php include_once "controle/controle_ces.php"; ?>
        <h1>Controle de <?=$_SESSION["ces_tipo"]?></h1>
        <form action="" method="post" class="formulario" onSubmit="return boleto_valida()">
            <fieldset>
                <legend><?=$_SESSION["ces_tipo"]?></legend>
                <div>
                    <select name="evento" id="evento">
                        <option>-- Selecione --</option>
                        <?=mostraEvento($_SESSION["ces_evento"])?>
                    </select>
                </div>
                <div>
                    <label class="campos">ID do Inscricto</label><br>
                    <input type="text" name="numero" id="numero" style="width: 800px" autofocus>
                    <button class="button" name="btn_salvar" value="Salvar">Ok</button>
                </div>
            </fieldset>
        </form>
        
        <?php if($inscricao){ ?>
        <fieldset>
            <legend>Dados do inscrito</legend>
            <div>
                <label class="campos">Nome: </label>
                <?=$inscricao["nome"]?>
            </div>
            <div>
                <label class="campos">CPF: </label>
                <?=$inscricao["cpf"]?>
            </div>
        </fieldset>
        <?php } ?>